using System;
using System.ComponentModel.DataAnnotations;
using Domain.审计字段;

namespace 审批流引擎
{
    /// <summary>
    /// 流转记录表（Record）
    /// </summary>
    public class Record : AuditableEntityBase
    {
        /// <summary>
        /// 主键（自增）
        /// </summary>
        [Key]
        public int RecordId { get; set; }

        /// <summary>
        /// 流转记录编号
        /// </summary>
        public string RecordCode { get; set; }

        /// <summary>
        /// 流程编号
        /// </summary>
        public string ProcessCode { get; set; }

        /// <summary>
        /// 流程详情编号
        /// </summary>
        public string ProcessDetailCode { get; set; }

        /// <summary>
        /// 审批人编号
        /// </summary>
        public string ApproverCode { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Produce { get; set; }
    }
}


